<template>
  <div class="about-me">
    <div class="banner-me"></div>
    <div class="me-desc">
      <h1><slot name="title"></slot></h1>
      <h3 slot=""><slot name="desc"></slot></h3>
    </div>
  </div>
</template>
<style scoped lang="scss">
.about-me {
  position: relative;
  background-color: #fff;
  .banner-me {
    background-image: url(../assets/images/banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100px;
    border-radius: 5px;
  }

  .me-desc {
    height: 100px;
    width: 100%;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    z-index: 1;

    top: 0;
    * {
      color: #fff;
    }
    h1 {
      margin-bottom: 0;
    }
  }
}
</style>